<?php 
$items['project']="
<li>
	<a href='?page=project&type=in-progress'>
		<f>".LIN_PROGRESS."</f>
	</a>
</li>
<li>
	<a href='?page=project&type=selected-projects'>
		<f>".LSELECTED_PROJECTS."</f>
	</a>
</li>
";
$items['news']="
<li>
	<a href='?page=architecture-design'>
		<f>".LARCHITECTURE_DESIGN."</f>
	</a>
</li>
<li>
	<a href='?page=construction'>
		<f>".LCONSTRUCTION."</f>
	</a>
</li>
";
?>
<div id="accordion">
	<?php foreach($pages as $key=>$value){?>
		<h3>
			<a class='a_item' id='<?php echo $key;?>' href="<?php echo $key=='project'?'#':"?page=$key"; ?>">
				<f <?php echo $key==$page?" id='selected' ":"";?> ><?php echo ucfirst($value);?></f>
			</a>
		</h3>				
		<?php if($key=='project' || $key=='news'){?>
			<div class='div_item' id='<?php echo $key;?>' ><ul><?php echo $items[$key];?></ul></div>
		<?php }?>
	<?php }?>
</div>